package com.hujia.hjsurprisemeal.model;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("feedback")
public class Feedback {
    private Integer feedbackId;  // 反馈ID
    private Integer userId;  // 用户ID
    private Integer restaurantId;  // 餐馆ID
    private String comment;  // 用户反馈意见
    private Double rating;  // 用户对餐馆的评分
    private LocalDateTime createdAt;  // 反馈时间
    private LocalDateTime updatedAt;  // 记录更新时间
}